#include <iostream>
#include <iomanip>
using namespace std;

long double pie(long long terms) {
    long double tmp = 4.0;
    for (long long i = 1; i<= terms; ++i) {
       tmp += (double)(i%2 == 1? -1 : 1) * 4/(2*i +1);
    }
    return tmp;
}

int main() {
    cout << setprecision(15) << setw (8) << "Terms"
         << setw (20) << "PIE" << endl;
    for (long long c = 8000000000; c< 9000000000; c+=1000000000) {
        cout << setw(8) << c
             << setw(20) << pie(c) << endl;
    }
    return 0;
}


